<template>

  <router-view />
  <div class="da">
    <!-- <div class="box">
      <div class="header">头部</div>
      <div class="meddle">内容</div>
    </div> -->
    <!-- <div class="footer">
    <van-tabbar v-model="active" route>
      <van-tabbar-item icon="home-o" to="/index">首页</van-tabbar-item>
      <van-tabbar-item icon="apps-o" to="/kind">分类</van-tabbar-item>
      <van-tabbar-item icon="search">米圈</van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" to="/shop">购物车</van-tabbar-item>
      <van-tabbar-item icon="manager-o" to="/user">我的</van-tabbar-item>
    </van-tabbar>
  </div> -->
    <router-view name="footer"></router-view>
  </div>
 
</template>

<style lang="scss">
* {
  padding: 0;
  margin: 0;
  list-style: none;
}
html,
body,
#app,
.da{
  width: 100%;
  height: 100%;
}
.da{
  flex-direction: column;
  overflow: auto;
  display: flex;
}
.box{
  flex-direction: column;
  display: flex;
  flex: 1;
  overflow: auto;
}
.header{
  height: 3.125rem;
}
.meddle{
  display: flex;
}
.footer{
  height: 3.125rem;
}
</style>
